# A simple makefile generator by KiSoft, 2010. mailto: kisoft@rambler.ru
# version: 0.3.12.5
%.o:	%.cc
	@echo Compiling $*
	$(CXX) $(CXXFLAGS) -I$(CURL_PATH)\include -IC:\opencv\build\include -c $*.cc

# Project Variables start
CXX=C:\MinGW\bin\mingw32-g++.exe
LD=C:\MinGW\bin\mingw32-g++.exe
LIB=ar.exe
WINDRES=windres.exe

CXXFLAGS = -Wall -g
OBJECTS= main.o livesource.o objectdetector.o blobdetector.o robot_orientation.o approxDecomp.o celldecompastar.o voronoi.o astarheuristics.o simpledrivecontroller.o rovio.o
OPENCV_PATH=C:\opencv\release
CURL_PATH=C:\curl-7.23.1

# Project Variables end

# Target: Debug

Main: $(OBJECTS)
	@echo Building console executable migio-deriv...
	@$(CXX) -IC:\opencv\build -L$(CURL_PATH)\lib -L$(OPENCV_PATH)\lib  -g -o migio-deriv $(OBJECTS)   $(OPENCV_PATH)\lib\libopencv_calib3d231.dll.a $(OPENCV_PATH)\lib\libopencv_contrib231.dll.a $(OPENCV_PATH)\lib\libopencv_core231.dll.a $(OPENCV_PATH)\lib\libopencv_features2d231.dll.a $(OPENCV_PATH)\lib\libopencv_flann231.dll.a $(OPENCV_PATH)\lib\libopencv_gpu231.dll.a $(OPENCV_PATH)\lib\libopencv_highgui231.dll.a $(OPENCV_PATH)\lib\libopencv_imgproc231.dll.a $(OPENCV_PATH)\lib\libopencv_legacy231.dll.a $(OPENCV_PATH)\lib\libopencv_ml231.dll.a $(OPENCV_PATH)\lib\libopencv_objdetect231.dll.a $(OPENCV_PATH)\lib\libopencv_video231.dll.a $(CURL_PATH)\lib\libcurl.dll

clean:
	@rm -f *.o migio-deriv.exe



